import request from '@/utils/axios'

// 团检机构信息分页
export const getGroupInspectionPage = (data: any) => {
  return request.post({
    url: '/eprofile-web/api/pe/info/page',
    data
  })
}

// 团检员工列表
export const getGroupInspectionStaffList = (data: any) => {
  return request.post({
    url: '/eprofile-web/api/pe/staff/pageList',
    data
  })
}

// 催办任务列表
export const getGroupInspectionTaskList = (data: any) => {
  return request.post({
    url: '/eprofile-web/api/pe/task/info/pageList',
    data
  })
}

export const getQuestionnaire = (params: any) => {
  return request.get({
    url: `/eprofile-web/api/scale/info/livingHabit?empi=${params.empi}`
  })
}
